comment "libamcodec needs a toolchain w/ threads, dynamic library"
	depends on BR2_arm || BR2_aarch64
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

config BR2_PACKAGE_LIBAMCODEC
	bool "libamcodec"
	depends on BR2_arm || BR2_aarch64
	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
	depends on !BR2_STATIC_LIBS # dlfcn.h
	select BR2_PACKAGE_ALSA_LIB
	help
	    Interface library for Amlogic media codecs

	    https://github.com/mdrjr/c2_aml_libs.git
